package database;

import java.util.Vector;

import TUIO.TuioPoint;

public class AlbumCollection {
	
	Vector<Album> albums;
	
	public AlbumCollection(){
		albums = new Vector<Album>();
	}
	
	public void addAlbum(Album val){
		val.setLastPoint(new TuioPoint(albums.size()*30,albums.size()*30));
		albums.add(val);
	}
	
	public Album getAlbum(int id){
		return albums.elementAt(id);
	}
	
	public int size(){
		return albums.size();
	}
}
